package com.example.carproviderbackstage.mapper.dl.admin;

import java.util.List;
import java.util.Map;

public interface OrderMapper {
    List<Map<String, Object>> findAllOrder(Map<String,Object> map);

    int createDriverBusiness(Map<String, Object> map);

    int updateOrderDriver(Map<String, Object> map);

    int addOrderState(Map<String, Object> map);

    int updateDriverBusinessOfDriver(Map<String, Object> map);

    int addToBookingApplication(Map<String, Object> map);

    int addToDriverBusiness(Map<String, Object> map);

    int addToBusinessOrder(Map<String, Object> map);

    List<Map<String, Object>> findAllUser();

    List<Map<String, Object>> findAllOwnerCardByUserId(Integer id);

    List<Map<String, Object>> findAllDriver();

    List<Map<String, Object>> findCouponByUserId(Integer id);

    Map<String, Object> findOwnerCardById(Map<String, Object> map);
}
